<!DOCTYPE html>
<!-- 表示使用Thymeleaf模板 -->
<html xmlns:th="http://www.thymeleaf.org"><head>
    <meta charset="UTF-8">
    <title>宠物全家桶</title>
</head>
<body>
<table>
    <tr th:each="pet : ${pets}">
        <td th:text="${pet.name}">Unknown</td>
        <td th:text="${pet.nickname}">Bigger</td>
        <td th:text="${pet.age}">Crypt age</td>
        <td th:text="${pet.hairColor}">Wine red</td>
    </tr>
</table>
</body>
</html>